import axios from "@/utils/request";


export const getBannerListAPI = (params) => axios.get("/banner/list",{
    params:params,
});

export const addBannerAPI = (data) => axios.post("/banner/add",data);  

export const deleteBannerAPI = (params) => axios.get("/banner/delete",{
    params
});  
export const clearBannerAPI = (params) => axios.get("/banner/removeAll",{
    params
});  
export const updateBannerFlagAPI = (data) => axios.post("/banner/updateFlag",data);  
